package com.chenzhengrong.demospringboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.chenzhengrong.demospringboot.mapper")
public class DemoSpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoSpringbootApplication.class, args);

        /*SpringApplication app = new SpringApplication(DemoSpringbootApplication.class);
        app.setAddCommandLineProperties(false);
        app.run(args);*/

        //SpringApplication.setAddCommandLineProperties(false);
    }

}
